🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / feature / node / src / commonMain / kotlin / org / meshtastic / feature / node / model / MetricInfo.kt
Displaying Raw • Download
feature/node/src/commonMain/kotlin/org/meshtastic/feature/node/model/MetricInfo.kt e8af75e09b4f8d6a533c2807216316fb3469da6b (e8af75e0) Text, 1.76 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.feature.node.model
Tff7b72import T7ee787androidx.compose.ui.graphics.vector.ImageVector
Tff7b72import T7ee787org.jetbrains.compose.resources.DrawableResource
Tff7b72import T7ee787org.jetbrains.compose.resources.StringResource
T8b949e/** A single labelled reading rendered as one info card; the icon comes from either a vector or a drawable resource. */
Tff7b72internal Tff7b72sealed Tff7b72interface T56d364MetricInfo Tb4b4b4{
Tff7b72val Te6edf3labelTb4b4b4: Te6edf3StringResource
Tff7b72val Te6edf3valueTb4b4b4: Tffa657String
Tff7b72val Te6edf3rotateIconTb4b4b4: Tffa657Float
T8b949e/** 1-based channel number appended to the resolved [label], for one-card-per-channel readings. */
Tff7b72val Te6edf3channelNumberTb4b4b4: Tffa657Int?
Tb4b4b4}
Tff7b72internal Tff7b72data Tff7b72class T56d364VectorMetricInfoTb4b4b4(
Tff7b72override Tff7b72val Te6edf3labelTb4b4b4: Te6edf3StringResourceTb4b4b4,
Tff7b72override Tff7b72val Te6edf3valueTb4b4b4: Tffa657StringTb4b4b4,
Tff7b72val Te6edf3iconTb4b4b4: Te6edf3ImageVectorTb4b4b4,
Tff7b72override Tff7b72val Te6edf3rotateIconTb4b4b4: Tffa657Float Tff7b72= T79c0ff0fTb4b4b4,
Tff7b72override Tff7b72val Te6edf3channelNumberTb4b4b4: Tffa657Int? Tff7b72= Tff7b72nullTb4b4b4,
Tb4b4b4) Tb4b4b4: Te6edf3MetricInfo
Tff7b72internal Tff7b72data Tff7b72class T56d364DrawableMetricInfoTb4b4b4(
Tff7b72override Tff7b72val Te6edf3labelTb4b4b4: Te6edf3StringResourceTb4b4b4,
Tff7b72override Tff7b72val Te6edf3valueTb4b4b4: Tffa657StringTb4b4b4,
Tff7b72val Te6edf3iconTb4b4b4: Te6edf3DrawableResourceTb4b4b4,
Tff7b72override Tff7b72val Te6edf3rotateIconTb4b4b4: Tffa657Float Tff7b72= T79c0ff0fTb4b4b4,
Tff7b72override Tff7b72val Te6edf3channelNumberTb4b4b4: Tffa657Int? Tff7b72= Tff7b72nullTb4b4b4,
Tb4b4b4) Tb4b4b4: Te6edf3MetricInfo
Served by rngit 1.5.0 - Generated in 0.06s